home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / Hack / SATTELIT / VIPER.ZIP / VIPER.TXT < prev    next >
Text File  |  1994-05-23  |  7KB  |  147 lines

  1.                        VIPER - VIdeo Protection ERaser
  2.                        -------------------------------
  3.  
  4. NOTE :
  5.  
  6.     The information supplied here and in the accompanying diagram is for
  7.     educational use only.
  8.  
  9.  
  10. Construction
  11. ------------
  12.  
  13. All the bits should be pretty easy to get.  C1 and C2 might be a bit pricey,
  14. but they make up part of a timing circuit so you need ones that have good
  15. thermal stability.  The LM1881 is pretty common I think - most of the catalogs
  16. over here have them in.  C3 Needs to be non-electrolytic as it has to be able
  17. to handle positive and negative voltages.  The logic I.C.s are all high speed
  18. CMOS, but you might be able to get away with slower ones - I am not sure.
  19. The frequencies are all pretty low (10 Mhz or less) so you shouldn't really
  20. need to worry about the layout of your PCB.
  21. R1 and R2 need to be selected when you test it, preferably with an
  22. oscilloscope, but you might be able to cludge it just by seeing what effects
  23. higher and lower values have.  Increase R2 until you get a black line at the
  24. top of the screen, then reduce it until the line dissapears.  If the
  25. protection system is still affecting the picture reduce R1 and start again.
  26. The values on the diagram are ones that I used in my working version so they
  27. are probably about right.
  28. It is a bit of a pain having 3 supply rails, but you need the +12v on the 
  29. output buffer to stop any clipping.  The black level of the video signal can
  30. wander about all over the place, and you need large caps to handle the low
  31. frequency parts of a video signal; for example if the screen is blank.
  32.  
  33.  
  34. How it works
  35. ------------
  36.  
  37. You have got me there.  It has been a long time since I designed it, and I
  38. have pretty much forgotten myself.  Please bear that in mind when I get things
  39. wrong ;)
  40.  
  41. The copy protection system (I forget it's name) works like this :
  42.  
  43. A screenfull of data is made up from 625 lines (in the UK) which are stacked
  44. on top of each other to make a picture.  Each line contains information about
  45. the colour on that line, the brightness of each pixel, and very precise timing
  46. signals to make sure that each line is exactly on top of the next.
  47.  
  48. This is what the start of a line of video data looks like -
  49.  
  50.            .....The 'back porch'
  51.          ..:...   ____                 -- 1 Volt, light
  52.         :      : |    \    ___
  53. ___     __xxx___/      \__/   \___ ... __ 0.3 Volt, black
  54.    \___/                               __ 0 Volt, 'blacker than black'
  55.  
  56.      ^     ^    ^^^^^^^^^^^^^^^^^^------- The video signal
  57.      |     |----------------------------- The colour burst
  58.      |----------------------------------- The Line Sync
  59.  
  60.   TIME ------->
  61.  
  62. The line sync pulse tells the TV/VCR that it is the start of the next line.
  63. The TV/VCR latches onto these pulses and syncs itself in with them to keep
  64. the picture steady.
  65.  
  66. The colur burst is about 9 cycles of 3.58Mhz to establish the tint and
  67. saturation for the colours on the line.  It is put on a part of the line called
  68. the 'Back Porch'.
  69.  
  70. The video signal makes up the rest of the line, and is what you see on the
  71. screen.  When the voltage is 1V the corresponding part of the screen is
  72. white.  When the voltage is 0.3V the screen is black.
  73.  
  74. The voltage range from 0.3V to 0V is reserved for sync pulses, and is
  75. sometimes referred to as 'blacker than black'.
  76.  
  77. Although the voltage of black is supposed to be 0.3V there is usually an 
  78. offset caused by the nature of the class A output amplifier in the VCR.
  79. To make sure that the TV/VCR knows where the black voltage is it samples the
  80. back porch voltage and assumes that it is what the voltage for black should
  81. be.
  82.  
  83. There are a few lines at the start of each screen which are not shown on the
  84. TV.  These are set aside for putting digital information on such as teletext
  85. or subtitles.  The copy protection system uses these lines to screw up the
  86. recording VCR.
  87.  
  88. If you look at these lines with an oscilloscope they look like this -
  89.  
  90.           ___        ___        ___          __ 1V, White
  91.          /   \      /   \      /   \
  92.         |     |    |     |    |     |
  93. ___     |     |_   |     |_   |     |_  ...  __ 0.3V, Black
  94.    \___/        \_/        \_/               __ 0 Volt, 'blacker than black'
  95.  
  96.      ^   ^^^^^^  ^  ^^^^^^--------------------- Simulated back porch
  97.      |     |     |----------------------------- Simulated sync signal
  98.      |     |----------------------------------- Original back porch
  99.      |----------------------------------------- Original sync signal
  100.  
  101.   TIME ------->
  102.  
  103. Rather than being at 0.3V, the back porch has been raised.  The protection
  104. also uses extra simulated sync pulses and back porches to increase the effect.
  105. The circuit which detects the black level sees the back porch voltage as 1V.  
  106. Although the VCR averages the back porch levels for all the 625 lines, there
  107. are enough false ones on the first few lines to make a significant difference.
  108. If the false back porches are at 1V, for example, the average back porch
  109. voltage for the whole screen might be 0.7V.  This means that only parts of the
  110. picture which are 0.7V or higher will be seen, and those which are less will
  111. come out as black, or, as sometimes happens will be mistaken by the recording
  112. VCR for sync pulses.  When the back porches are raised the picture on the 
  113. recording VCR dims. The false back porches are also moved up and down which
  114. makes the brightness go up and down.
  115.  
  116. The Viper video protection eraser uses the following method to remove these
  117. false back porches.
  118.  
  119. U4 is an analogue switch which switches the output to either the input
  120. (i.e. straight through) or to the 4.7uF capacitor (C3) which is at black
  121. level voltage.  U2a is a monostable, triggered by the field sync pulse from
  122. U1 and triggers U2b after a time which is set by R1 and C1.  R1 and C1 should
  123. be adjusted so that U2b is triggered when the protection 'spikes' start.  When
  124. U2b is triggered the output is connected to C3 (blanking the 'spikes'), apart 
  125. from when sync pulses are detected.  When this happens the output is flipped 
  126. back to the input for the duration of the pulse. The duration of the spike 
  127. blanking depends on R2 and C2.
  128. C3 is charged up through the 1K resistor on pin 12 of U4 on the back porches 
  129. of all the lines except the ones with the spikes.  This generates an 
  130. approximation of the black level voltage.
  131. Q1 is a buffer to get the output impedance to about 75 Ohms.  It is an
  132. emitter follower with a gain of about .95 (I think).
  133.  
  134. That is about all I can remember - it's been about 3 or 4 years since I was
  135. fiddling about with this stuff.  I left out a whole load of stuff about the
  136. video signal (colour subcarriers, vertical blanking etc, etc.) because it is
  137. not relevant to this.
  138.  
  139. The circuit works fine with the PAL system we have here in the UK.  I don't
  140. know how well it will work with NTSC - I don't see why it shouldn't, but I am
  141. not an expert on NTSC video.
  142.  
  143. Anyway, have fun mucking about with it.
  144.  
  145. Dave Sawford 1994.
  146. (dws@ras.phy.cam.ac.uk)
  147.